<?php

	 $db_host = 'localhost';
	 $db_user = 'function';
	 $db_pwd = 'w9ak4X1l0Y';

	 $database = 'function_a5110060';

	 $table1 = 'Sub_location_Area';

	$con = mysql_connect($db_host, $db_user, $db_pwd);
	if (!$con)
	die("Can't connect to database");
	mysql_select_db($database,$con);

	$area_id = $_REQUEST['id'];

	$sql1="DELETE FROM {$table1} WHERE area_id = ".$area_id;
	
	

	//echo("Sql :".$sql1);
	//echo("Sql :".$sql2);
	//echo("Sql :".$sql3);
	$result1=mysql_query($sql1);
	
		
	header("Location: ../areas.php");
?> 